﻿using SqlSugar;

namespace Api.Shared.Model.Web.Login
{
    [SugarTable("rolesitem")]
    public class RolesItemNew
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int tableId { get; set; }

        public int id { get; set; }
        public string roleName { get; set; }
        public string roleDesc { get; set; }

        [SugarColumn(IsIgnore = true)]
        public List<MenuItemNew>? children { get; set; }
    }
}
